package com.heibas.start;

public class Test {
    public static void main(String[] args) {
        System.out.println(Query(10));
    }
    public static int Query(int n){
        int value=+n;
        if(n==0){
            return value;
        }
        return Query(n-1)+n;
    }
}
